<?php

use Illuminate\Database\Seeder;

class FillActivityModelTypeSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\Entities\ActivityModel::query()
            ->whereIn('rule', [
                'redpack_rain',
                'shaking',
                'roulette',
                'scratch',
                'golden-eggs',
            ])
            ->update(['type' => \App\Entities\ActivityModel::TYPE_DRAW]);
    }
}
